package com.etc.controller.main;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**

 * @author Administrator

 *

 */
@Controller
@RequestMapping("/main")
public class MainController {
	
	@RequestMapping("/index.htm")
	public String  forward(Model model,HttpServletRequest request){
		//此处可以获取session中的数据，并根据session数据加以处理
		/*User cmsUser=(User)request.getSession().getAttribute(LoginConstants.LOGIN_SUCCESS);
		System.out.println(cmsUser.getTsuName());*/
		return "index";
	}
	
}